package com.fdb.efp.esb.service.bo.resp.zx.domain;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * 策略集内容 <br>
 * <p>
 * 0.1:caoxin:2019/5/14 11:05: TODO: <br>
 *
 * @author caoxin
 * @version 0.1
 * @date 2019/5/14 11:05
 * @since 2019/5/14 11:05
 */
public class Policyset implements Serializable {
    // 策略uuid
    private String PolcUuid;
    // 风险决策结果
    private String RskDecsnRslt2;
    // 策略模式
    private String PolcMd;
    // 风险分数
    private String RskScor1;
    // 策略名称
    private String PolcNm;
    // 策略风险类型
    private String PolcRskTp;
    // 命中规则列表
    private List<HitRule> HitRuleList;

    @JSONField(name = "PolcUuid")
    public void setPolcUuid(String PolcUuid) {
        this.PolcUuid = PolcUuid;
    }

    @JSONField(name = "PolcUuid")
    public String getPolcUuid() {
        return PolcUuid;
    }

    @JSONField(name = "RskDecsnRslt2")
    public void setRskDecsnRslt2(String RskDecsnRslt2) {
        this.RskDecsnRslt2 = RskDecsnRslt2;
    }

    @JSONField(name = "RskDecsnRslt2")
    public String getRskDecsnRslt2() {
        return RskDecsnRslt2;
    }

    @JSONField(name = "PolcMd")
    public void setPolcMd(String PolcMd) {
        this.PolcMd = PolcMd;
    }

    @JSONField(name = "PolcMd")
    public String getPolcMd() {
        return PolcMd;
    }

    @JSONField(name = "RskScor1")
    public void setRskScor1(String RskScor1) {
        this.RskScor1 = RskScor1;
    }

    @JSONField(name = "RskScor1")
    public String getRskScor1() {
        return RskScor1;
    }

    @JSONField(name = "PolcNm")
    public void setPolcNm(String PolcNm) {
        this.PolcNm = PolcNm;
    }

    @JSONField(name = "PolcNm")
    public String getPolcNm() {
        return PolcNm;
    }

    @JSONField(name = "PolcRskTp")
    public void setPolcRskTp(String PolcRskTp) {
        this.PolcRskTp = PolcRskTp;
    }

    @JSONField(name = "PolcRskTp")
    public String getPolcRskTp() {
        return PolcRskTp;
    }

    @JSONField(name = "HitRuleList")
    public void setHitRuleList(List<HitRule> HitRuleList) {
        this.HitRuleList = HitRuleList;
    }

    @JSONField(name = "HitRuleList")
    public List<HitRule> getHitRuleList() {
        return HitRuleList;
    }

    public static class HitRule {
        // 风险决策结果
        private String RskDecsnRslt1;
        // 权重分数
        private String RtoScor;
        // 规则名称
        private String RuleNm;
        // 规则编码
        private String RuleEncd;
        // 父规则Uuid
        String ParenRuleUuid;
        // 规则编号
        private String RuleId;

        @JSONField(name = "RskDecsnRslt1")
        public void setRskDecsnRslt1(String RskDecsnRslt1) {
            this.RskDecsnRslt1 = RskDecsnRslt1;
        }

        @JSONField(name = "RskDecsnRslt1")
        public String getRskDecsnRslt1() {
            return RskDecsnRslt1;
        }

        @JSONField(name = "RtoScor")
        public void setRtoScor(String RtoScor) {
            this.RtoScor = RtoScor;
        }

        @JSONField(name = "RtoScor")
        public String getRtoScor() {
            return RtoScor;
        }

        @JSONField(name = "RuleNm")
        public void setRuleNm(String RuleNm) {
            this.RuleNm = RuleNm;
        }

        @JSONField(name = "RuleNm")
        public String getRuleNm() {
            return RuleNm;
        }

        @JSONField(name = "RuleEncd")
        public void setRuleEncd(String RuleEncd) {
            this.RuleEncd = RuleEncd;
        }

        @JSONField(name = "RuleEncd")
        public String getRuleEncd() {
            return RuleEncd;
        }

        @JSONField(name = "ParenRuleUuid")
        public void setParenRuleUuid(String ParenRuleUuid) {
            this.ParenRuleUuid = ParenRuleUuid;
        }

        @JSONField(name = "ParenRuleUuid")
        public String getParenRuleUuid() {
            return ParenRuleUuid;
        }

        @JSONField(name = "RuleId")
        public void setRuleId(String RuleId) {
            this.RuleId = RuleId;
        }

        @JSONField(name = "RuleId")
        public String getRuleId() {
            return RuleId;
        }

    }

}
